package com.jy.adscm.operation.cgxsb.mapper.mysql;

import com.jy.adscm.operation.cgxsb.bean.CgxsCommodityinfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jy.adscm.operation.cgxsb.bean.SalePro;
import com.jy.adscm.operation.cgxsb.bean.spmc;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yyy
 * @since 2019-01-10
 */
public interface CgxsCommodityinfoMapper extends BaseMapper<CgxsCommodityinfo> {

    List<spmc> queryBySpmc(@Param("type")String type);

    List<CgxsCommodityinfo> queryByTid(@Param("tid")String tid);

    List<SalePro> querySalePro();
}
